package com.jhoncy.rapid.auth.config.security;

import org.springframework.security.core.GrantedAuthority;

/**
 * @author zhuangqi
 * @date 2017/7/21.
 */
public class AuthGrantedAuthority implements GrantedAuthority{

    private String url;
    private String method;
    private String type;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public AuthGrantedAuthority(String url, String method, String type) {
        this.url = url;
        this.method = method;
        this.type = type;
    }

    @Override
    public String getAuthority() {
        return null;
    }
}
